n = int((int(input()) + 1) / 2)
for i in range(1, n + 1):
    print(str((2 * i - 1) * '*').center(2*n-1))
